<template>
  <div>
    <m-head title="个人信息"></m-head>
    <div class="list">
      <div class="item tx">
        <h3>头像</h3>
        <div><img src="../../static/images/user.gif" alt=""></div>
        <span class="arrow"></span>
      </div>
      <div class="item">
        <h3>昵称</h3>
        <div>元旦放假啦</div>
        <span class="arrow"></span>
      </div>
      <div class="item">
        <h3>年龄</h3>
        <div>2年</div>
      </div>
      <div class="item">
        <h3>个性签名</h3>
        <div>新的一年开始啦，好好学习呦</div>
        <span class="arrow"></span>
      </div>
    </div>
  </div>
</template>

<script>
import MHead from './MHeader'
export default {
  name: 'my-info',
  components: {
    'm-head': MHead
  }
}
</script>

<style scoped>
.item{
  border-bottom: 1px solid #eee;
  padding: .3rem .6rem .3rem .3rem;
  display: flex;
  justify-content: space-between;
  position: relative;
  align-items: center;
}
.item h3{
  font-size: .42rem;
  color: #333;
  flex-shrink: 0;
  margin-right: .4rem;
}
.item div{
  font-size: .42rem;
  color: #777;
}
.item .arrow{
  right: .3rem;
}
.tx img{
  width: 1.2rem;
  display: block;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
</style>
